Pakistan politician resigns from allegedly rigged seat amid election controversy