Avoid "immutable" apis for JNodes, preventing optimizer errors (#10010) The immutable APIs for JNodes apparently were never immutable to begin with, and have been watered down since then so that it isn't safe to actually treat them as being immutable. This confusion prevented multiple case expressions from being optimized correctly. Fixes #10005