llama-batch: fix allowed decreasing pos in a seq (#25449)