Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Geometry of the intersection ring and vanishing relations in the cohomology of the moduli space of parabolic bundles on a curve 