EU plans new law criminalizing undocumented migrants