SE said before that the DF tries to create a balanced party (equal parts melee and ranged, class diversity, etc). It will only create an imbalanced party if there are no alternatives.