Consulting firm McKinsey and Co. has agreed to pay $78 million to settle claims from insurers and health care funds that its marketing work with Purdue Pharma helped fuel an opioid addiction crisis.