Added support for `slogdet` in LazyTensor shape inference (#77904)
Fixes https://github.com/pytorch/xla/pull/3576
Added support for `slogdet` in LazyTensor shape inference
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77904
Approved by: https://github.com/wconstab, https://github.com/JackCaoG