Seol mar théacs é seo: Macroscopic entanglement and phase transitions