Implement logical indexing for SubArray. Fixes #4763
Add test for SubArray logical indexing
Simplify SubArray logical indexing test
Make SubArray logical indexing handle low-dimensional cases
Merge pull request #4764 from magistere/master

Implement logical indexing for SubArray. Fixes #4763