Reset procedure table, symbol table and graph list for redefined function

It fix the case that a function without parameter can be re-defined in a code block node. But redefining a function which has parameters is still not working, which is tracked by newly added test case TestFunctionModification03 in live runner.

The related Dynamo pull: https://github.com/ikeough/Dynamo/pull/939