Hewlett-Packard is shaking up its business yet again, combining its printer and personal computer divisions. And one of HP’s longest-tenured and most-admired executives is also retiring as a result.