Avoiding Dead Ends in Real-Time Heuristic Search