Excess and residual intersections