Remove bogus CHECK and replace some CHECKs to DCHECKs.

The state of a class can be concurrently changed, so don't assume there
must be an exception after calling `VerifyClass`.

Also replace some CHECKs to DCHECKs as there's no need to crash the
process for such invariants.

Test: test.py
Bug: 264228375
Change-Id: Iffcb191ba4c4ed3f90ea47b6fa9fae5415ff4d7c
1 file changed