Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Desingularization of Schubert varieties and orbit closures of prehomogeneous vector spaces of commutative parabolic type 