The major coffee chain laid off more than 1,100 workers, mainly in corporate roles, as the company restructures and shrinks its menu.