Revert TrivialDce pass
Revert TrivialDce pass

The need for this was due to a bug in MLIR's GreedyPatternRewriteDriver (https://github.com/llvm/llvm-project/issues/86765) which has been fixed (https://github.com/llvm/llvm-project/pull/86990), so the TrivialDce pass is no longer needed.

Reverts 04b31c7d1e349856d4bf7d7758020ce4a36dd21d
