Moscow and Ankara will coordinate military activities in the war-torn country as the US decides to withdraw its troops.