kr_rplan_pop(): avoid reordering kr_rplan::pending

- It's not ideal, but this will need significant overhaul anyway when
  "parallel queries" get implemented.
- I didn't put this into array.h, as we don't seem likely to need it
  anywhere else and implementation in macros would be ugly.
- It's unclear whether this "bug" could cause anything in practice.
69 jobs for kr_rplan_pop-slide
in 61 minutes and 7 seconds and was queued for 4 seconds