(Reuters) - Goldman Sachs Inc on Wednesday reported a quarterly profit that trumped analysts' estimates, as strength in its investment banking business helped cushion the blow from a slump in trading.