The president on Thursday summoned warring House Republicans to the White House, shut them in a room, and told them not to emerge until they had ironed out their differences.