It’s not just nearly identical, it’s lifted from the soundtrack from AOTC. There are also snippets lifted from TLJ, TFA, ROTJ and ROTS sprinkled throughout the film.
He did the same thing by dropping in “Burning Homestead” into TFA during Rey and Kylo’s fight.
Why he couldn’t get Williams to simply rescore them is beyond me.