Hewlett-Packard cuts back its UK legal department