Removing most of the unused code from the linear algebra library (lossmin). This involves mostly code that was specific to solvers that we do not use. Change-Id: Id61ebc04f77209cbadb549e4b1cb9779c33543cc