Eliminate unused inputs to erasure analysis