GlaxoSmithKline (GSK) has agreed to a settlement of up to $2.2 billion to resolve roughly 80,000 lawsuits claiming that the…