Democrats in the US are preparing a move to force President Donald Trump to end the war with Iran by cutting federal funding for military operations.