US Senate passes bill to raise debt ceiling to avert first-ever default