The party’s split over supporting a spending extension to avert a lapse in government funding boiled down to a practical question of how much power the president has in a shutdown.