Eliminate redundant stores in IR.