US lawmakers voted Wednesday to greenlight an agreement aimed at deepening economic relations with Taiwan that has already provoked an irritated response from Beijing.