Two years ago, Chief Information Officer Randy Mott ended GM’s $3 billion a year outsourcing deal with Hewlett-Packard Co. , replacing it and others with about 8,000 GM software engineers, up from 1,400 previously. “Because we brought the [information technology] work back in-house, we can take the lid off of what is possible,” Mr. Mott said in an interview.