Teach selectdim that its slices are slices (#26655)
This allows selectdim to return more optimized views that can be considered IndexLinear in some cases and make it more closely match the behavior of view with `:`s. Fixes issue reported at https://discourse.julialang.org/t/selectdim-fails-to-recognize-indexlinear/10053.