[XLA:GPU][MLIR-based emitters] Add a pattern to simplify apply_indexing op.
[XLA:GPU][MLIR-based emitters] Add a pattern to simplify apply_indexing op.

Right now it also removes unused symbols, but later unused dims will be added
as well.
