Revert "TRQ-2342: Merge fix from TRQ-2317/TRQ-1714 and added unit test: spool files left alone when MS is the same as pbs_server and there's an epilogue running."

This reverts commit 405434b094a0e15e413ee2b012921860171f69df.