KAFKA-1414 Speedup broker shutdown and startup after hard reset; patched by Jay Kreps, Alexey Ozeritskiy, Dmitry Bugaychenko and Anton Karamanov