Xerox Beats HP for $500 Million N.Y. Medicaid Deal