A GOP nominating committee chooses the replacement. Presumably they would choose the man who came in second in the primary, Jon Brunner.
I’m thinking in this case, getting a woman on the ballot would be a much better option. Having Steelman would cut off several avenues of attack from McCaskill.