O.J. Barker resigns as deputy marshal