fixed handling of degenerate input shapes in separableMultiDistance() and MultiArrayNavigator (resolves #154)