It seeks to end Washington's conflict in Iran unless President Donald Trump obtains authorisation from Congress.