A bipartisan resolution aimed at limiting President Donald Trump's ability to wage war in Iran has failed in the US Senate, as the strikes continue.