Yesterday the European parliament passed a new law that will end the conflation of free movement of people with the undercutting of local workers by EU migrants.