Founder Daniel Dines returns as CEO as the company faces increased scrutiny over deal timings and sales cycles.