Instabilities in the array of phase-slip centers in superconducting filaments