Implement pa_pp_nextstate including PL_op reassignment

Totally untested and a bit out of my comfort zone wrt. libjit.