Syrian regime accepts ceasefire deal