Cornell departs Sam's Club, Brewer becomes CEO