navigator#navigate handles replace: true correctly

@hojberg @barnabyc