After bad bets on derivatives nearly sank AIG during the financial crisis, Bob Benmosche helped steer it to profitability.