Ab initio Hartree-Fock instabilities in closed-shell molecular systems