Russian lawmakers have ratified a pact to strengthen military ties with North Korea