Fix consumption registration in simplification engine.
Add simplification rule for removing unnecessary copies.
Add copy-propagation case in rewrite rule for indexing.