Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces The degeneration of the Grassmannian into a toric variety and the calculation of the eigenspaces of a torus action 