Syria's military says it is backing a four-day ceasefire with the Kurdish-led Syrian Democratic Forces following clashes.