North Korea has revised its constitution to require nuclear retaliation if Kim Jong-un is killed or incapacitated.