The company plans to consolidate some teams and functions in addition to the headcount reduction, part of an effort to become a “more efficient, agile organization,” Chief Executive Officer Raj Subramaniam said Wednesday in a memo to employees. The changes will align the size of the network with customer demand, he said.