Syria closes the book on the past with Hamas