With protests crushed for now, Tehran faces unresolved public anger, fragile diplomacy with Washington and the risk that unrest could return in a more dangerous form.