Pfizer has agreed to pay $784.6 million to resolve allegations that Wyeth, which it acquired in 2009, underpaid drug rebates to Medicaid.