remove redundant code and fix typo

The check for the function being zero is part of the standard
'free_symbols' and need not be repeated for the specialized
form of the routine in `_free_symbols`.