Fix hook_taxonomy_delete_term.

Makes sure that a term is not automatically deleted unless it is
a duplicate term that is not already associated to a term product.