Reapply "[scudo] Apply the min release threshold to the group" (#112252) (#112266)

This reverts commit 037938d637b830332e50232d7b90b5faad039c11.

Fixed the iterator to avoid infinite loop

GitOrigin-RevId: cb3e7b39a5a1f48d14e1ecc7f4d6b75b16512575
1 file changed