Indexing a dask array with a boolean array

@miguelcarcamov

See this post for some crude benchmarks in a slightly different context.