Yes it was a gamble, but they looked at the damaged car and debris, then at the number of cars Verstappen would have to overtake if racing was restarted or the time it would take for all the lapped cars to unlap themselves.
In the end at the last minute they decided to let just the first five...