set: make set_consume() actually free the allocated string if the string already is in the set

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>