In Trello, how to replace one label with another?

When I imported cards from one Trello table into another, their labels were added to the list of labels in the second table, creating duplicate labels with the same name and color. This makes the list of labels very long. Is there a way to remove the duplicate tag and apply the one remaining on the cards that wear it, without having to do it individually? I found the site useful https://batch.cardsync.xyz/ but it does not seem to have this function.