chore(LinearAlgebra/Matrix/PosDef): generalize and golf PosSemidef.posDef_iff_isUnit (#43627)
PosSemidef.posDef_iff_isUnit