move delete of energy corrector in destructor

I had moved the new from beginRun to constructor without moving consistently the delete, this was causing the crash as the Run was changing.