It’s an end of an era—and a tumultuous one at that. Billionaire activist investor Carl Icahn has agreed to sell all his Xerox shares back to the company at $15.84 per share in a $542 million deal that also will see Mr. Icahn’s partners Jesse Lynn and Steven Miller, along with independent director James Nelson,