The US House of Representatives rejected an attempt on Thursday to curb President Donald Trump's ability to carry out his war on Iran.