Supreme Court rules for South Dakota on sales tax