bugfix [#32346] Node animation, removing nodes keeps FCurves.

The same bug happens for modifiers, but better to address it separately.
Contribution and review by Lukas Toenne and Brecht van Lommel