The three agreed to promote defense cooperation, just weeks after Jakarta reached a deal with Beijing to boost military ties following joint naval drills east of Taiwan.