State TV reported the resignation of the head of the Central Bank as angry traders and shopkeepers rallied in the capital Tehran.