A UK court rejected a casino’s bid to switch a formula for taxing services that are hard to classify, depriving the company behind the gambling operation of a multimillion-pound tax decrease.