Orwell includes such long quotes from Goldstein's The Theory and Practice of Oligarchic Collectivism because they confirm on a different level what Winston has always thought about the Party. For example, the constant war with a number of different adversaries, always understood by Winston to be on some level absurd, is exposed as exactly that by Goldstein:
To understand the nature of the present war — for in spite of the regrouping which occurs every few years, it is always the same war — one must realize in the first place that it is impossible for it to be decisive...Secondly, there is no longer, in a material sense, anything to fight about.
Orwell writes that the book "reassures" Winston by "saying what he would have said" had he been able to make sense of it all. But he falls asleep before finishing the reading, thus depriving himself of understanding "why" this form of society has gained traction. So the book is an important plot device in the story. But it is also a method by which Orwell makes his most important points about a number of social issues: atomic war, totalitarianism, individual liberties, and free thinking. Ingsoc and the other variants of totalitarianism as explained by Goldstein are based upon a similar logic as many developments Orwell saw taking place during his own time. Including extended excerpts from the book is essential for making this point.
Arguably, Orwell included such long passages from Goldstein's book for two reasons. Firstly, it adds to the book's sense of realism. By giving such a long and detailed account of the Party, its history and its methods of maintaining power, Orwell creates a world which feels real to the reader. It also helps the reader to understand what life is truly like for the people of Oceania and, as such, to better identify with Winston and his anti-Party sentiments.
Secondly, including such long passages adds to the sense of drama when Winston is interrupted by the Thought Police. Like Winston, the reader is desperate to know how the book ends but his arrest prevents us from ever finding out. In one sense, these long passages act like a metaphor for Winston's rebellion: he never got to finish the book just as he never succeeded in truly rebelling against the Party by bringing about its destruction.