The North Korean leader expressed hope for the future of ties that had “carried forward the history of common struggle for justice and precious traditions of friendship”