Russian President Vladimir Putin has signed a deal with North Korea’s Kim Jong Un that included a mutual defense pledge.