I'm reading through Chern original proof as stated in Yin Li of the Chern-Gauss-Bonnet theorem, and I think I got almost everything except for the last step (Page 17).
I fail to see how passing to the limit allows to integrate over $SM_x$ by Poincaré-Hopf theorem, as stated at Page 7.
The same step in Chern's original paper (Page 6-7) is just as unclear to me.
In what form is the Poincaré-Hopf theorem being used?