Consistent handling of 0-dimensional XArrays for dtype=object

Numpy unpacks 0-dimensional ararys when indexed. We should do the same.