Biden, House speaker reach 'agreement in principle' to avert default