chore(LinearAlgebra): golfs around linearIndependent_single (#24209) also generalize to semirings
linearIndependent_single