cleanup of header files for solvers

2 jobs for !19 with MN_solver in 8 minutes and 9 seconds (queued for 2 seconds)
merge request