Syria would be divided and Bashar al-Assad would remain for a few years under a deal between Russia, Turkey and Iran.