With days to spare before a potential first-ever government default, President Joe Biden and House Speaker Kevin McCarthy reached final agreement Sunday on a deal to raise the nation’s debt ceiling and worked to ensure enough Republican and Democratic votes to pass the measure in the coming week.