Republicans voted for a resolution against president Donald Trump’s ability to impose tariffs on their neighbour.