Revert "Make linalg.inv composite of linalg.solve (#80074)"
This reverts commit 4737b3361479f4104efaa3bfa2ea517eaacb60fb.
Reverted https://github.com/pytorch/pytorch/pull/80074 on behalf of https://github.com/malfet due to Depends on the changes from https://github.com/pytorch/pytorch/pull/83628