fix memory leak related to job preemption

select/cons_res plugin: Fix memory leak related to job preemption.
bug 837