The consultant had deleted records involving McKinsey’s role in pushing OxyContin sales and driving the opioid crisis.