He should have gone back further in time and never taken up gambling.  There was really nothing he could do to change his fate in 24 hours; the die was long cast by then.  But then I suppose the individual who offered him the opportunity--guess who--already knew that.  Time travel; deal with the devil.