Add fallback constructor for similar() on ranges that takes a dims::(Integer...) argument. This allows similar to work on ranges where the return type on size() doesn't necessarily equal Dims::(Int...). Fixes #7709.
Merge pull request #8043 from JuliaLang/jq/range

Add fallback constructor for similar() on ranges