ENH NDVar:  implement `Dimension.__eq__()`; check dimension when using NDVar index