GlaxoSmithKline has agreed to pay $2.2 billion to settle 80,000 Zantac lawsuits.