Add right_folds::until and refactor.