US President Obama announces deal reached to avert government default