Goldman, Morgan Stanley cut $557 million foreclosure deal