(because commit broke seveal tests) This reverts commit 5d2dfcd48f.
5d2dfcd48f
KT-445 (Don't allow deep instanceof for erased parameters) and more see new tests in compiler/testData/checkerWithErrorTypes/full/cast