Federal law allows compounding pharmacies to make copies of name brand drugs while there’s a supply shortage. But there's a loophole.