The retaking by People's Protection Units (YPG) last week of predominantly Kurdish Kobani after a four-month siege by Islamic State was a major defeat for the Sunni fundamentalist group that controls a 20,000-square mile arc of Syria and Iraq.