Not only has the bank just reported its first quarterly loss in more than a decade; it has also agreed to a tentative deal to pay a fine of $13 billion to the US government as punishment for mis-selling mortgage-backed securities. Other big legal and regulatory costs loom.