@pete31 recently wrote a script which would split PDFs at a certain text; it would probably be possible to rework that to split after a certain number of pages if the script is no use to you as is; it would certainly be possible to rework it to effectively prune rather than split (i.e. by dumping rather than saving the section after the split). See here for the original art work.