A ruling is imminent on the legality of a controversial drug that’s used to treat addiction — but some have called it a ‘dangerous opioid’ 6 years ago