Check that the Dogleg Solver uses a direct solver. Change-Id: I7947361542aecded0adc0ca775b5b0011ce9fb23