Considering the literary structure and recurring themes in the Book of Judges, what is the primary theological function of the repeated phrase 'In those days there was no king in Israel; everyone did what was right in his own eyes' (Judges 17:6, 21:25)?