The company had initially expected to lower its headcount in Boston and other high-cost locations by 1,500 employees in the face of difficulties growing revenue.