Republican leaders billed their decision to abandon a controversial plan to tax companies’ domestic sales and imports as an essential step toward uniting their efforts to overhaul the U.S. tax code—but its death adds new complications to an already intricate task.