Syrian cabinet resigns, political prisoners released