Campaigning officially ended on Thursday for Iran’s parliamentary election, a day before a vote seen as a litmus test of the popularity of the clerical establishment.