The protests, in which more than 500 people have died, have grown into a more serious threat to the Islamic Republic.