[Functionalization] Fix more cpp tests that require new lowerings (#4496)
* Lower _linalg_slogdet and and linalg_inv_ex
Lowering some linalg ops in attempt to fix cpp tests that dispatch
existing ops into these after enabling functionalization.
* Add some more comments
* Run linter and rebase with functionalization branch
* Remove duplpicate definition for _linalg_svd
* Fix xla svd counter for cpp test
* Update linalg_inv_ex to fall when back is set to true