The latest unrest in Tehran and other major cities is a serious test of the regime’s power.