I have experienced the same problem of locked team in the beginning of this Badlands mission. After freeing the first village it started again.
I managed to by-pass this second locked team problem. Before having the last chat with villagers, I order my team to halt in any place of the village, instead of having them following me around.
Thus, they are available at the beginning of the second village attack.
Now, I am terribly stuck in the last village. All enemies are cleared and I can build many stuff in that last village, experience tanks and others. But no end of mission so far.