Apply sum/difference rule for indefinite integrals (#552)