Add a pass to remove unused temporaries.
(XXX not sure how to test for this)