The CEO will be replaced by Goldman Sachs executive Peter Mintzberg effective Aug. 15.