Western sanctions and international outrage over the invasion of Ukraine were supposed to leave Russian President Vladimir Putin isolated and weakened on the world stage, but that was before the surge of international attacks by the Islamic State found President Obama and other Western leaders suddenly in need of Moscow’s help.