[WebNN EP] Update Op Softmax for readability (#17826)
### Description
<!-- Describe your changes. -->
Improve readability by fixing misplaced comments and utilizing
std::rotate.
### Motivation and Context
Resolve some comments in
https://github.com/microsoft/onnxruntime/pull/17714