Reduce the number of states generated by the CPS transformer

This pushes consecutive statements into the same State where possible.