Fixed a problem in issue_to_svr on a retry condition where
the batch reqeust gets freed before the associated task can
be freed.

Also modified reissue_to_svr to fix a segault where the batch_request
was null but we dereferenced it before checking.

TRQ-2368