[MRG+1] ENH faster safe_indexing for common case

`take` is substantially faster than `[...]`