A Florida judge ruled in favor of CVS, Walgreens and Walmart in a lawsuit brought by 16 hospitals accusing the pharmacy retailers of flooding the state with opioids.