(Reuters) - U.S. drugmaker Merck & Co on Friday said it would pay $830 million to settle a federal class action lawsuit involving allegations the company failed to adequately inform investors about heart risks from its now-recalled Vioxx pain medication.