fix abort-delay bug
This fixes the bug found by @edejouhanet and discussed in !540 (merged)
Bottom line, aborted jobs were restarted right away, even though there was an attempt to delay them by an hour. Similar for error jobs.
A new test in test_ekos_scheduler_ops was added. The test fails without the rest of this MR, but passes with these fixes.