Xerox said its CEO and most of its board will step down to settle a suit by activist shareholders Carl Icahn and Darwin Deason.