Moving regularized LDL into optimization/util