Poor President Roslin has been dying for a season and a half so far. They could have just let her.
The miracle cure (discovered in, of course, as melodramatic a fashion as possible) really felt like a cop-out. It didn't feel like a necessary development in the plot, but a requirement to keep the actor around. (Or at least the character.)