This patch eliminates redundant instructions that produce 0.