Disable cache invalidation logic for mlir emitters.
Disable cache invalidation logic for mlir emitters.

We have logic to estimate the impact of certain ops on IR size. This problem is
fixed with the MLIR emitters, so we don't need it for them.
