If the result operand has a unit leading dim it is removed from all operands. Two special cases arise.
- The dim to be dropped may not be leading in the lhs and/or rhs operand. In this case a transpose is first applied to make the dim leading and then it can be dropped.
- The dim to be dropped does not exist in the lhs and/or rhs operands. In this case we do not change the corresponding operands.
Test: Added tests in vector-dropleadunitdim-transforms.mlir. Also, moved other tests related to dropping lead unit dim from vector-transforms.mlir to vector-dropleadunitdim-transforms.mlir
do you need this?