Pazipro is what they use to get rid of worms in sand dwelling wrasses. Might try that.

I would hold off on putting them in the tank.