fix(router): IE 11 bug can break URL unification when comparing objects (#30393)
fix(router): IE 11 bug can break URL unification when comparing objects (#30393)

This PR fixes an issue where IE 11 can return `undefined` in with an `Object.keys` call. Solution is to add a runtime check on the value. Based on the types being passed, this shouldn't be necessary, but is needed only for IE 11. Unit test doesn't work for this PR because it can't be replicated easily.

PR Close #30393

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