Integration over the u-plane in Donaldson theory with surface operators