Microsoft is firing employees in departments set to take more actions to save costs