Trump agreed with South Korea President Moon to revise a treaty capping the South's missile development, Moon's office said.