“The group’s big bet that securities backed by risky home loans would fall in value generated nearly $4 billion of profits during the year that ended Nov. 30, according to sources familiar with the firm’s finances. Those gains erased $1.5 billion to $2 billion of mortgage-related losses elsewhere in the firm.”