North, South Korea move to end rupture in ties