Implement store_ref() style reference mutation.
Revise pass object by ref tests and check assign doesn't mutate refs.