match lowering: Use an iterator to find `expand_until` A small cleanup that I noticed while looking at #127164. This makes it easier to see that the split point is always the index after the found item, or the whole list if no stopping point was found. r? `@Nadrieril`