Collapse of high-Tc superconductivity via ultrafast quenching of the phase coherence