If it appears to said board that a majority of the citizens of such township are opposed to such change, such petition shall be dismissed. The cost of the proceeding in all cases shall be taxed against the petitioners.