The Senate narrowly rejected a war powers resolution, allowing President Trump to continue military action against Iran, despite the House passing a non-binding measure to withdraw US forces.