Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Threefold birational morphisms and degenerations without triple points. Appendix: Simple connectivity of dual graphs for birational morphisms 