Bank of America will pay $8.5 billion to settle claims by investors who lost money on mortgage-backed securities. The securities at issue were put together and sold by Countrywide, and they became Bank of America's problem when the bank acquired the mortgage giant in 2008.