Japan stocks follow global rout