webgpu: merge batchA into M dimension when batchB==1 (#28197)
When M is small and batchA is large, there are some invalid elements in
each tile, merge batchA into M dimesion would reduce the workgroup
count.
### Description
<!-- Describe your changes. -->
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
---------
Co-authored-by: wp <webgraphics@intel.com>