A Smooth Sea Never Made a Skilled SAILOR: Robust Imitation via Learning to Search