Call deep_copy for terms again

It turns out we can't treat terms as immutable because one can assign
into their elements using []'s.