[MPS] Fix the crash in View ops when slicing wrong lengths (#94259)
The offset + length of destination tensor should not be larger than source's length when slicing
Fixes #94190
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94259
Approved by: https://github.com/malfet