[functorch] Add a bunch of low hanging fruit linalg batch rules (#82177)
This gets ~9 batching rules using only decomps and existing macros so I stuck them all together, happy to break it up if there's a more logical way.
Also gets slogdet and solves for https://github.com/pytorch/functorch/issues/984. I haven't profiled locally but I will
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82177
Approved by: https://github.com/zou3519