The retailer is streamlining technology teams as it races to improve efficiency and compete with Amazon.