Checks for unused label definitions.