Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Intersection pairings on singular moduli spaces of bundles over a Riemann surface and their partial desingularisations 