North Korea to go to South Korea's Olympics after talks