Fix drop handling in hint::select_unpredictable
#139977
Merged
hint::select_unpredictable
#139977