The finding effectively bars widespread sales of cheaper copies of the drugs that many patients use, but the FDA said it would not take any action against the compounding pharmacies