Remove ancient hack that was emulating move semantics with reference counting.

No functionality change.