MAINT: Simplify shape checks in linprog clean_input
MAINT: Simplify shape checks in linprog clean_input

The `b` arrays are expected to be 1D arrays with the same number
of elements as there are variables. This commit combines the
checks for the number of dimensions and number of variables by
checking the shape directly.Further this commit removes
explicitly checking ``len(c)`` in favour of the variable ``n_x``.

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