Limit edit prediction reject batches to max (#43965)

We currently attempt to flush all rejected predictions at once even if
we have accumulated more than
`MAX_EDIT_PREDICTION_REJECTIONS_PER_REQUEST`. Instead, we will now flush
as many as possible, and then keep the rest for the next batch.


Release Notes:

- N/A
2db237aa52Agus Zubiaga committed on 12/2/2025, 4:22:16 PM· committed by GitHubparent305e73e
3 files changedLine totals unavailable