The prime minister’s reflections about the war stood in contrast to those of his recent predecessors.