On a class of degenerate nonlinear Volterra equations