Fate of the excitonic insulator in the presence of phonons