BUG: optimize/slsqp: check constraint violation when exiting due to too many resets
BUG: optimize/slsqp: check constraint violation when exiting due to too many resets

SLSQP exits if the bfgs approximation is reseted too many times.  When
this is done, the exit check appears to assume `h3` contains the total
constraint violation, but in reality it contains directional derivative
(modified by lagrange multipliers & constraints), not guaranteeing
constraints are satisfied.

To check the constraints, copypaste code from a few lines above from
the nearly identical non-relaxed convergence check.

Eric89GXL/scipy,rgommers/scipy,mdhaber/scipy,vigna/scipy,zerothi/scipy,matthew-brett/scipy,perimosocordiae/scipy,Eric89GXL/scipy,anntzer/scipy,mdhaber/scipy,tylerjereddy/scipy,pizzathief/scipy,e-q/scipy,matthew-brett/scipy,endolith/scipy,endolith/scipy,tylerjereddy/scipy,person142/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,matthew-brett/scipy,matthew-brett/scipy,perimosocordiae/scipy,matthew-brett/scipy,vigna/scipy,person142/scipy,perimosocordiae/scipy,endolith/scipy,perimosocordiae/scipy,andyfaff/scipy,endolith/scipy,grlee77/scipy,tylerjereddy/scipy,anntzer/scipy,ilayn/scipy,rgommers/scipy,anntzer/scipy,pizzathief/scipy,mdhaber/scipy,andyfaff/scipy,zerothi/scipy,zerothi/scipy,Eric89GXL/scipy,pizzathief/scipy,rgommers/scipy,perimosocordiae/scipy,rgommers/scipy,nmayorov/scipy,jamestwebber/scipy,rgommers/scipy,pizzathief/scipy,grlee77/scipy,jamestwebber/scipy,anntzer/scipy,scipy/scipy,Stefan-Endres/scipy,jamestwebber/scipy,ilayn/scipy,andyfaff/scipy,zerothi/scipy,e-q/scipy,jamestwebber/scipy,person142/scipy,arokem/scipy,Stefan-Endres/scipy,ilayn/scipy,mdhaber/scipy,WarrenWeckesser/scipy,arokem/scipy,tylerjereddy/scipy,mdhaber/scipy,nmayorov/scipy,perimosocordiae/scipy,Eric89GXL/scipy,ilayn/scipy,arokem/scipy,endolith/scipy,ilayn/scipy,Eric89GXL/scipy,grlee77/scipy,person142/scipy,e-q/scipy,Stefan-Endres/scipy,grlee77/scipy,aeklant/scipy,scipy/scipy,e-q/scipy,jamestwebber/scipy,andyfaff/scipy,Stefan-Endres/scipy,aeklant/scipy,e-q/scipy,nmayorov/scipy,person142/scipy,Eric89GXL/scipy,anntzer/scipy,arokem/scipy,scipy/scipy,zerothi/scipy,WarrenWeckesser/scipy,vigna/scipy,zerothi/scipy,mdhaber/scipy,endolith/scipy,andyfaff/scipy,WarrenWeckesser/scipy,ilayn/scipy,scipy/scipy,scipy/scipy,Stefan-Endres/scipy,nmayorov/scipy,nmayorov/scipy,WarrenWeckesser/scipy,aeklant/scipy,vigna/scipy,scipy/scipy,andyfaff/scipy,Stefan-Endres/scipy,anntzer/scipy,vigna/scipy,WarrenWeckesser/scipy,aeklant/scipy,pizzathief/scipy,grlee77/scipy,aeklant/scipy,arokem/scipy