The Department of Justice and 49 state attorneys general have reached a $25 billion settlement with the country’s five largest mortgage lenders: Bank of America, JP Morgan Chase Co., Wells Fargo & Company, Citibank, and Ally Financial (formally GMAC).