Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces 2d-4d connection between \(q\)-Virasoro/\(W\) block at root of unity limit and instanton partition function on ALE space 