Extinct flightless bird came ‘back from the dead’ because of a quirky evolutionary process