Bank of America reached a $16.65 billion civil settlement with the federal government.