Add job exit reason to BG job requeue function to set proper value

Set job state to JOB_BOOT_FAIL when boot fails, JOB_NODE_FAIL on
cnode or other hardware failure, otherwise set to JOB_FAILED