Japan has long drawn criticism from global watchdogs for failing to curb human trafficking, perhaps most conspicuously when it comes to foreign women brought in to work in the sex trade.