Update integrals.py

added the flag rewrite_complex to DifferentialExtension in integrals.py