Compactness methods for an abstract nonlinear Volterra integrodifferential equation