PL-31974.  Track if declaration compilation phase is temporarily bypassed in compilation state. In addition to declarations-compiled, use this state to detect duplicate inner classes.