Rawalpindi commissioner resigns over alleged election rigging