Walgreens reaches $500 mln deal with New Mexico over opioid crisis