Entanglement gap, corners, and symmetry breaking