It was a ruff ruling for International Business Machines Corp. in litigation against pet-supply retailer Chewy Inc.