Cost overruns and missed profitability goals have set off a rising tide of discontent inside the firm, concerned questions from regulators and most worryingly, the dismay of shareholders. Now, the bank is restructuring and reorienting those operations. Rather than catering to just about anyone, Goldman will sling some of its key consumer products through its wealth-management business, augmenting what is already one of the bank’s strengths.