Remove extraneous ops.