KKR to sell Epicor Software in $4.7 billion deal, 4 years after buying the company