it gives the 'i' an "ee" sound,
rather than the an "eye" sound it might otherwise acquire without a double 'g'.
Also it is there to maintain regularity as the gerund of "intrigue".
(
Moon Girl Technologies horrendous beanbag, Thu 10 Nov 2011, 12:44,
archived)