Hamas ditches Assad, backs Syrian revolt