To allow for the optimisation that H_VOID, H_POP is replaced with just H_POP, change skipArgs to tolerate unbalanced H_POP
Document dict sorting issues and add a test case for them.