trust_region/dogleg: fixing sign error