A federal court finds Walgreens, CVS and Walmart helped create an oversupply of addictive painkillers.