Fix each

- each shouldn't pop the original before each stack is produced.
  Instead it should pop&push on the produced stack.
Fix transform

- This relied on stack pre-computations.  Add an operator that pops
  and saves top N-1, performs given OP, and pushes the saved on each
  produced stack.  Possible this will be reimplementable using blocks
  later.
Syntax nits