TaskDistributionTool: fix bots restarting test suites without any reason
take into account allow_restart also with new style test results