Already-pardoned ex-sheriff asks judge to undo conviction