Refactor TransitionModel.predict methods to return indices of new rows