Production of combustible gases containing carbon monoxide from solid carbonaceous fuels combined with pre-distillation of the fuel