Factor out fixed point helper to utils

* src/pf/utils.lua: Move fixpoint here.
* src/pf/optimize.lua: Adapt.

* src/pf/codegen2.lua: Optimize code to a fixed point.
Inline singly-referenced labels

* src/pf/codegen2.lua: Inline singly-referenced blocks in their
  predecessors.