Trump signs Taiwan act into law, angering rival China