TRQ-2666. Make it so that jobs are deleted correctly following a qrerun.

Jobs were being stuck in an exiting state on remote moms following a qrerun, which
results in a number of things including the mom resending obits which are ignored
by pbs_server.