Pharmaceutical interests lost a closely watched battle over the federal drug discount program on Tuesday when a federal appeals court ruled that Arkansas can block manufacturers from limiting the availability of discounted drugs at certain pharmacies.