Allergan’s $2.37 billion settlement, reached with a bipartisan group of state attorneys general to resolve lawsuits over the opioid crisis, comes five days after another drug manufacturer, Teva, reached a $4.25 billion deal.