Taiwan’s premier hailed a new trade deal with the United States, while an official in Beijing condemned the accord.