Virtual retailers Amazon.com and Overstock.com are scaling back in states that demand they collect sales tax on some purchases. While this won’t dent their revenues much, it foreshadows a larger clash over taxing internet commerce. Cash-strapped states are firing the first shots.