added sanity to GetRidOfRowsAndColumnsWithUnits

(Vinay: we need this to detect wrong input for "fake" localization of base ring)