McKinsey & Co is close to reaching a $500 million settlement with U.S. prosecutors over its involvement in the opioid…