The US Senate passed a symbolic resolution calling for an end to Trump's war with Iran, saying Congress must authorise any further military action.