AIG says it will use the funds to repay some of the $ 180 billion it received in a U.S. government bailout in 2008 during the height of the global financial crisis .