Consistent varargs specialization in stagedfunctions (fix #8944)
Move stagedfunction tests earlier

These are about to become part of fairly low-level infrastructure,
so it's best to run them early.