North Korea to reopen hotlines with the South