State-dependent divergences in the entanglement entropy