Hewlett Packard Enterprise Co. said it’s spinning off and merging some non-core software assets in a deal with U.K.-based Micro Focus International Plc valued at about $8.8 billion, continuing Chief Executive Officer Meg Whitman’s effort slim down its operations.