Vicar quits over full graves row