step record purge fix

This corrects logic introduced yesterday in commit
6f89dc9dd40932d88ead825d229480b7665bf1fc which introduced a double
free of step records, at least on job requeue.
bug 1012