Hewlett-Packard Enterprise will spin off a big chunk of its business software line-up in an $8.8 billion deal with Micro Focus International, continuing the unraveling of what once was Silicon Valley's largest company.

The Palo Alto, California, company said Wednesday that it will get a $2.5 billion cash payment and its shareholders will hold a 50.1 percent stake in the new combined company.