ir: Turn most Type enums and field members into Op and op.