Wachovia , the country 's fourth-largest bank , posted an unexpected loss on Monday , reduced its dividend and said it would raise about $ 7 billion from investors because of mounting housing losses and an ill-timed acquisition of a big California mortgage lender .