Purdue Pharma bankruptcy judge to rule Friday on opioid settlement