North Korea passed legislation establishing the right to use pre-emptive nuclear strikes to defend itself.