North Korean leader Kim Jong Un "solemnly swore" to navigate his country out of deepening economic troubles as he concluded a major ruling party meeting, acknowledging food shortages and urging officials to prepare for both dialogue and confrontation with the US.