Khamenei protege, sole moderate tied in Iran's election