(Reuters) - Xerox Corp reported better-than-expected second-quarter earnings on Thursday as it continued restructuring.