When Losses Turn Into Loans: The Cost of Weak Banks