A city in Illinois realized it was spending a lot of money on one drug, so it sued the maker