Given your timeline there was little you could have done differently. Perhaps, had when you landed at JFK you got on the phone to diamond reservations and talked to them as you made the connection, they could have sorted it out in time -- or at least started the clock ticking on getting you on the AF plane -- but even then no guarantees.