Pfizer agrees to opioid marketing deal to escape a lawsuit by Chicago