Ignore duplicate states when initializing subgraphs in `ts_query__analyze_patterns`
ts_query__analyze_patterns