Handle transposition pattern seen in SDPA with unbacked SymInts (#121005)
Fixes https://github.com/pytorch/pytorch/issues/121000
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/121005
Approved by: https://github.com/lezcano