A Generic Bet-and-Run Strategy for Speeding Up Stochastic Local Search