The treaty comes amid reports of about 11,000 North Korean soldiers being deployed to fight in Russia’s war in Ukraine.