Anomalies of the entanglement entropy in chiral theories