A Family of Complexes Associated to an Almost Alternating Map, with Applications to Residual Intersections