Former UK PM resigns as MP over Partygate report