US knew Nauru might cut ties to Taiwan before it did, official says