set: free allocated strings if already in set for set_consume()