update compile_val through to end of Prim1 case

this is a good sign that the treatment of the global store is right
(only remaining thing that could go wrong is extend)