BUG: fix collections.Hashable behaviour for numpy arrays.

While `hash(a)` raises an exception as expected for an array `a`, `a.__hash__()` does not, and `isinstance(a, collections.IsHashable)` returns True.

This fixes the issuew/ one trivial test.