The cuts, about 250 people, will mostly affect the company’s sales teams, David Sacks, the chief executive, said.