Syrian president announces deal with Kurds including truce