President Biden signaled on Monday that he would use military force to defend Taiwan if it were ever attacked by China, dispensing with the “strategic ambiguity” traditionally favored by American presidents and risking Beijing’s anger at rising tensions in the region. 203