If you want to try to save them, isolate the hermie from the rest of your crop. The last thing you want is cross-pollination, so move it to an entirely different room and never interact with your other plants after you’ve interacted with the hermie. Your only other option is to simply pitch them.... sorry!