Republicans in the US Senate have backed Donald Trump's military campaign against Iran, voting to block a bipartisan resolution aiming to stop the air war.