save(lp) : refactoring lp_core_solver

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>