[changed] Transition retry uses replaceWith instead of transitionTo

I added a `retryAndReplace` method to `Transition` that acts the same as `retry` except it uses `replaceWith` instead of `transitionTo`.

My use case for this was that I was saving a transition during authentication. After authentication, I would prefer the back button to go to the screen that requested the original transition instead of back to the auth screen.