doc] Fix inconsistencies with torch.linalg.matrix_rank doc (#51660)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51660
Test Plan: Imported from OSS
Reviewed By: mruberry
Differential Revision: D26234100
Pulled By: heitorschueroff
fbshipit-source-id: b9c48c0e172461ed2770d52c07a147152d51d4b7