According to Merriam Webster, all of the above !
It’s one of those recent words that everyone spells differently, with both versions equally capable of being rationalised:
medevac - medical evacuation
medivac - medical evacuation
Of the two, medevac makes more sense, and medevacked so that it doesn’t rhyme with ace (e.g. packed/paced)