Fix a long-standing bug in CSE
I had the environments wrong so that CSE could mis-clone an expression, if the uniques just happened to be badly arranged. It's hard to trigger the bug, so I can't make a reliable test case. Happily the fix is easy.
Showing with 23 additions and 13 deletions