Undo ineffectual optimization