refactor(compiler): remove unused assertion function (#44411)
refactor(compiler): remove unused assertion function (#44411)

This code is no longer used now that ViewEngine has been removed.

PR Close #44411

angular/angular,angular-indonesia/angular,JiaLiPassion/angular,angular/angular,manekinekko/angular,gnomeontherun/angular,gkalpak/angular,JiaLiPassion/angular,ocombe/angular,shairez/angular,shairez/angular,gnomeontherun/angular,angular/angular,shairez/angular,ocombe/angular,shairez/angular,manekinekko/angular,ocombe/angular,gnomeontherun/angular,manekinekko/angular,angular-indonesia/angular,JiaLiPassion/angular,shairez/angular,manekinekko/angular,ocombe/angular,gkalpak/angular,JiaLiPassion/angular,manekinekko/angular,angular-indonesia/angular,ocombe/angular,manekinekko/angular,gkalpak/angular,gkalpak/angular,gnomeontherun/angular,angular/angular,angular-indonesia/angular,ocombe/angular