The doors of Syria's prisons were flung open after an Islamist-led rebel alliance ousted longtime ruler Bashar al-Assad this month, more than 13 years after his brutal repression of anti-government protests triggered a war that would kill more than 500,000 people.