Judge approves Purdue Pharma opioid settlement