The Senate must approve the deal and send it to the president’s desk this weekend to avoid a default.