Bank of America has reached a $16.65 billion settlement with U.S. regulators to settle charges that it misled investors into buying troubled mortgage-backed securities.