In my (admitttedly stale-dated..) experience, there is another side to this, and one that we should be honest about.
First, I doubt very much that the CAF is "full" of people from seriously broken, pathologically abusive homes. Often those people grow up into adults who are of little use to society in general, never mind a structured, demanding organization like the military. If you don't believe me, ask anybody who works with Federal inmates and is familiar with their backgrounds. Not a lot of "Brady Bunch" families on that list, and not a lot of inmates who will ever amount to much-- "rehabilitation" to the contrary.
Second, I think the military does have some people in it who come from dysfunctional families, and some of that probably includes some abuse. By abuse, I don't mean spanking. I spanked our kids, and was spanked myself. I mean things much worse than spanking (which is not illegal in Canada anyway). If you spend much time as an Adjutant of an Army field unit, or as a Chaplain, you will probably see that "family of origin" problems are something that some soldiers struggle with. Some don't handle it very well, and it comes out in bad, or sometimes criminal, behaviour. Nothing new there.
But, I think the point is this: that the huge majority of our soldiers who may face these sorts of problems find that the Army is an environment that helps them. It provides structure, clear goals, leadership (or, at least, a lot better leadership than they will ever find in civvy street) and a pretty clear and fair punishment system. It also provides friends, shared challenges and positive experiences, and a sense of belonging.
These are all things which are to be proud of, and are immensely helpful to people struggling with their past. Again, there is nothing new here: the Army has long been recognized as a place where people can make something of themselves.
I know that some people will scorn this as "Army as a social welfare agency". Fine. But I think it is true, whether we like it or not.