The move reverses a years-long approach to diversity, equity and inclusion policies the tech giant once embraced as critical to its success.