Koreas agree to resume high-level talks