South Korea offers to hold rare military talks with North Korea, aiming to ease tensions after Pyongyang tested its first intercontinental ballistic missile.