Set the layers to use Alpha Add blending mode.
from After Effects Help:
“Alpha AddComposites layers normally, but adds complementary alpha channels to create a seamless area of transparency. Useful for removing visible edges from two alpha channels that are inverted relative to each other or from the alpha channel edges of two touching layers that are being animated. Note: Sometimes, when layers are aligned edge-to-edge, seams can appear between the layers. This is especially an issue with 3D layers that are joined to one another at the edges to build a 3D object. When the edges of a layer are anti-aliased, there’s some partial transparency at the edges. When two areas of 50% transparency overlap, the result is not 100% opacity but 75% opacity, because the default operation is multiplication. (50% of the light gets through one layer, and then 50% of the remainder gets through the next layer, so 25% gets through the system.) This is like partial transparency in the real world. But, in some cases, you don’t want this default blending. You want the two 50% opacity areas to combine to make a seamless, opaque join. You want the alpha values to be added. In these cases, use the Alpha Add blending mode.”