Check that the op is one of those that we support before replacing reduce Ops.