First-order phase transitions in a quantum Hall ferromagnet