FIX: Memory issue in stc generator

Fixes #792. The notify array was a bit too much black magic.. the problem was that the array had a reference to the `SourceEstimate` object and so a circular reference was created which caused the stc's to not be deleted during the iteration.

CC @bloyl sorry for the delay.