Japan slams Israel for 'legalizing' West Bank settlements