The costs of fighting lawsuits in the wake of the financial crisis have been steep. According to Credit Suisse Group, seven major banks have spent more than $76 billion on mortgage-related costs and litigation since 2008.