what happens when one mixes flour into batter?
Many, many things happen when flour flour is mixed into batter.  From your description, though, it sounds like you are interested in what leads to and relieves clumping.

When water (whether it is just plain water, in milk, in juice, or whatever) and flour are mixed, the water will begin to expand and penetrate the starch granules in the flour.  The starch will swell, and become sticky.

Now, imagine a small clump of flour, with water penetrating from the outside.  The outside surface of the flour clump will swell up as the starches become staturated with water.  They are also sticky, so they tend to not separate--the surface sticky flour tends to stick to its neighbors and the flour on the inside.

Once the outside surface of the clump is saturated with water, it is very hard for more water to penetrate the clump, so it tends to persist.



The main way to mitigate this clumping is to stir vigorously, immediately upon introducing the flour and liquid.   This will tend to distribute the flour particles throughout the liquid before significant swelling occurs.  This is why when making a flour slurry, you whisk or beat it quite briskly right away.

Additionally, slowly over time, water will also penetrate the clumps, slowly swelling and hydrating the starches in the center, but then you tend to have quite sticky lumps, like in lumpy gravy, and those are nearly impossible to dissolve, so you don't want that to happen.  Immediate agitation is the key.

In the batter you describe, it is probably the additional mixing more than the the additional flour that relieves the clumping.  You have said that it doesn't happen until the flour is added, but it may be that the additional volume just makes your mixer more efficient since it has more to work with.  



Still, nothing is simple.   If you have a lot of water, and a little flour, stirring easily creates a slurry without lumps.

If you have a much larger ratio of flour to water, there isn't enough water to make a liquid phase, and so you get clumps.  Within limits, over time, the water will distribute itself throughout the flour phase, and you will get a continuous mass of dough.  This is what happens (ignoring the effects of shortening for flakiness) in a pie dough, for example, which is quite dry.  It needs the resting time for the water to hydrolyze the starches, and spread evenly throughout, so what you have is one moderately hydrated clump, as it were.



This is only a the tip of the iceberg of complexity that is just flour and water.   The ratio, the temperature, the type of flour, the way it is treated all matter.

The interaction of starch and water is only one important interaction.

Another very important and complex interaction is the formation of glutin (a strong, stretchy protein that forms the primary structure in yeast-raised breads, among may other things) over time in the presence of water, and with agitation (as in kneading bread).