European Union lawmakers voted to halt the ratification of a major free trade agreement with Mercosur due to concerns about its legality.