reverse range with select gives empty result. fixes #6534

````
julia> a = [1:10];

julia> select(a, 1:3)
3-element Array{Int64,1}:
 1
 2
 3

julia> select(a, 3:1)
0-element Array{Int64,1}
````