Ellis resigns as Bendigo Pioneers coach