perf(ivy): initialise inputs from static attrs on the first template pass only (#33195)
perf(ivy): initialise inputs from static attrs on the first template pass only (#33195)

This change assures that data structures related to initial inputs
(ones set from static attributes) are created only once (during the
first template pass) and no additional runtime checks are done for
subsequent passes.

Additionally this commit changes the data structure used by initial inputs
on TNode - previously initial inputs for a directive were stored at the
directive index in LView. This meant that an array holding initial inputs
was relativelly big and had many null elements (as placeholders for elements,
directives, injector etc.). After the change we only create an array of a size
equal to a number of directives matched on a given TNode.
For the `directive_instantiate` benchmark it boils to allocating a 1-element
array vs. 100-element array previously.

PR Close #33195

Toxicable/angular,IdeaBlade/angular,Brocco/angular,Toxicable/angular,vikerman/angular,Brocco/angular,mhevery/angular,angular/angular,manekinekko/angular,mprobst/angular,Brocco/angular,vikerman/angular,sarunint/angular,gnomeontherun/angular,matsko/angular,filipesilva/angular,alxhub/angular,gdi2290/angular,snaptech/angular,gnomeontherun/angular,angular-indonesia/angular,snaptech/angular,gnomeontherun/angular,JiaLiPassion/angular,sarunint/angular,JiaLiPassion/angular,shairez/angular,mhevery/angular,matsko/angular,brandonroberts/angular,Toxicable/angular,angular-indonesia/angular,mhevery/angular,mprobst/angular,filipesilva/angular,Brocco/angular,StephenFluin/angular,Toxicable/angular,sarunint/angular,blesh/angular,shairez/angular,blesh/angular,matsko/angular,manekinekko/angular,StephenFluin/angular,gdi2290/angular,IdeaBlade/angular,filipesilva/angular,vikerman/angular,alxhub/angular,ocombe/angular,mhevery/angular,Toxicable/angular,mgechev/angular,angular/angular,brandonroberts/angular,sarunint/angular,snaptech/angular,manekinekko/angular,mhevery/angular,gkalpak/angular,StephenFluin/angular,Brocco/angular,IdeaBlade/angular,alxhub/angular,angular-indonesia/angular,shairez/angular,IdeaBlade/angular,matsko/angular,filipesilva/angular,ocombe/angular,mprobst/angular,angular/angular,mgechev/angular,StephenFluin/angular,mprobst/angular,gdi2290/angular,gkalpak/angular,blesh/angular,Brocco/angular,alxhub/angular,vikerman/angular,mgechev/angular,shairez/angular,mgechev/angular,brandonroberts/angular,angular/angular,snaptech/angular,shairez/angular,wKoza/angular,ocombe/angular,ocombe/angular,JiaLiPassion/angular,mprobst/angular,vikerman/angular,manekinekko/angular,snaptech/angular,wKoza/angular,brandonroberts/angular,sarunint/angular,alxhub/angular,blesh/angular,wKoza/angular,JiaLiPassion/angular,gdi2290/angular,ocombe/angular,sarunint/angular,matsko/angular,ocombe/angular,gkalpak/angular,brandonroberts/angular,StephenFluin/angular,manekinekko/angular,IdeaBlade/angular,gdi2290/angular,gdi2290/angular,brandonroberts/angular,blesh/angular,Toxicable/angular,mprobst/angular,filipesilva/angular,gkalpak/angular,snaptech/angular,gnomeontherun/angular,mgechev/angular,mhevery/angular,wKoza/angular,vikerman/angular,angular-indonesia/angular,manekinekko/angular,wKoza/angular,wKoza/angular