This essentially replaces the `ed::curves::select_ends` function by using a new masking function (`ed::curves::end_points`) and manipulating the selection attribute directly in the operators. Pull Request: https://projects.blender.org/blender/blender/pulls/109293