Fix dead instruction elimination to take indirect dependencies into account (e.g. need to keep this ptr because even though it isn't used here, it will remain alive via a forwarded store).

Also fix a long-standing bug where killing a formal param queued the actual in the wrong context.