The presidents of Russia and Turkey have reached a deal that could halt the fighting in Syria’s Idlib province.