Disable assertion in redeclaration checker

Workaround a problem with Java built-in sources