Remove redundant constraints in the compiler itself, found by -fwarn-redundant…

Authored by simonpj.