A class of filtering superoptimal preconditioners for highly ill-conditioned linear systems