Deal to end civil war in Syria could allow president Bashar al-Assad to stay