Turkish President Erdoğan has welcomed the agreement between the Kurdish SDF and the Syrian government, saying it "will contribute to the country’s security and stability."