alatriste, that's a good question, but one of those classic impossible ones!
The truth? nobody knows!
That's where science-only pilots fall like turkeys.
The book says your engine will fail at V1! Not any later.
The day your engine will fail after you are committed to follow the SID (which you can't follow because of the gradient), what to do?
I would firewall the engine and resuscitate all my bush pilot skills...
Hasta la vista, baby!