The move comes after top U.S. officials visited the Pacific nation to bolster ties and deliver warnings over its new security agreement with China.