VE-549: simplify label normalizing logic.