[Chapel Merge] Add variant of 'STEP CANCELLED' prediff for slurm

Branch: refs/heads/main
Revision: 97a6b53919fd0b4977c074caf6fbad444ed94278
Author: benharsh
Link: Add variant of 'STEP CANCELLED' prediff for slurm by benharsh · Pull Request #27906 · chapel-lang/chapel · GitHub
Log Message:
Add variant of 'STEP CANCELLED' prediff for slurm (#27906)

This appears to be a variant of the similar message above, which we can
encounter when a program has a non-zero exit code. More specifically,
the message comes from the root locale when exiting from any other
locale. I suspect this is due to a new version of slurm, which changed
the message format.

Discussed with @bradcray offline.

Compare: Comparing 9451b33af129a0973855e4fe0dc5cfd20946172c...9ab955280501fef40fcd43b4d0c5aa33615e5bcf · chapel-lang/chapel · GitHub

Diff:
M util/test/prediff-for-slurm
https://github.com/chapel-lang/chapel/pull/27906.diff