A protracted conflict in the Middle East could help Russia's war effort in Ukraine.