utilities: apply the same List::erase fix to List<void*>
src: fixed various uses of List<T>::erase and List<T*>::erase across the codebase.

Possibly fixes #131, #126.