Lawmakers are to vote later Wednesday on a major revamp of the European Union’s migration laws, aiming to end years of division over how to manage the entry of thousands of people without authorization and deprive the far-right of a vote-winning campaign issue ahead of June elections.