Process control for polypropylene degradation during reactive extrusion