Fix rechecking of applications: it can be given ill-typed terms. Fixes math-classes.
Fix rechecking of applications: it can be given ill-typed terms. Fixes math-classes.

jpdeplaix/coq,Ptival/coq,Zimmi48/coq,maximedenes/coq,herbelin/github-coq,maximedenes/coq,letouzey/coq-wip,silene/coq,JasonGross/coq,ppedrot/coq,ejgallego/coq,Ptival/coq,letouzey/coq-wip,Zimmi48/coq,Lionel-Rieg/coq,william-lawvere/coq,gares/coq,maximedenes/coq,gares/coq,JasonGross/coq,gares/coq,maximedenes/coq,Zimmi48/coq,SkySkimmer/coq,coq/coq,Lionel-Rieg/coq,william-lawvere/coq,coq/coq,Matafou/coq,barras/coq,Zimmi48/coq,ejgallego/coq,coq/coq,Matafou/coq,ppedrot/coq,SkySkimmer/coq,silene/coq,Ptival/coq,maximedenes/coq,mattam82/coq,herbelin/github-coq,barras/coq,coq/coq,barras/coq,amintimany/coq,silene/coq,ppedrot/coq,Lionel-Rieg/coq,william-lawvere/coq,ppedrot/coq,letouzey/coq-wip,SkySkimmer/coq,gares/coq,Matafou/coq,mattam82/coq,SkySkimmer/coq,letouzey/coq-wip,ppedrot/coq,ejgallego/coq,ejgallego/coq,JasonGross/coq,amintimany/coq,herbelin/github-coq,JasonGross/coq,jpdeplaix/coq,letouzey/coq-wip,mattam82/coq,jpdeplaix/coq,amintimany/coq,gares/coq