Japan weighs tighter rein on residency for foreign nationals