Simplify the code that handles trust of side-effects in kernel typing.
Simplify the code that handles trust of side-effects in kernel typing.

For some reason the code was returning int option when only the value of
the integer was relevant.

ppedrot/coq,SkySkimmer/coq,maximedenes/coq,maximedenes/coq,Matafou/coq,Zimmi48/coq,ejgallego/coq,JasonGross/coq,silene/coq,ppedrot/coq,SkySkimmer/coq,Zimmi48/coq,JasonGross/coq,gares/coq,Zimmi48/coq,ppedrot/coq,maximedenes/coq,gares/coq,coq/coq,JasonGross/coq,ejgallego/coq,silene/coq,coq/coq,ejgallego/coq,ejgallego/coq,SkySkimmer/coq,maximedenes/coq,coq/coq,maximedenes/coq,gares/coq,JasonGross/coq,SkySkimmer/coq,ppedrot/coq,gares/coq,ppedrot/coq,silene/coq,coq/coq,Zimmi48/coq,Matafou/coq,gares/coq,Matafou/coq