The Phoenix Five couldn't restart the x gene, it was Hope's destiny, she was the chosen host, so when Tony inflicted the phoenix force on them, they chose to use it to save the world while waiting for Hope to be ready
Anyway, scriptwriting facilities for a terrible event (the only issues that I liked were those of Hickman because he recognized the phoenix force's positivity)