This splits the core part of `resample_to_uniform` into it's own function, so that it doesn't depend on field evaluation. From there, new versions of `resample_to_count`, `resample_to_length`, and `resample_to_evaluated` are provided. Pull Request: https://projects.blender.org/blender/blender/pulls/118551