McKesson Corporation, one of the nation’s largest pharmaceutical distributors, has reached a $2.1 billion settlement to resolve claims stemming from the national opioid epidemic.