Electronic quenching of O(1D) by N2: a semiclassical study