Pacific nation cuts off ties with Taiwan, switches allegiance to China