libpromises/evalfunction.c: more minor cleanups