Dettelbach resigns