“Kullu ṭ-ṭullābi lam yaḥḍurū” normally distributes the negation over all the students: none attended.
“Lam yaḥḍur kullu ṭ-ṭullāb” normally denies that every student attended; it allows that some did. The issue is universal negation versus negation of universality.
This is a difference in logical scope caused by word order. Particular contexts may sharpen the intended claim, but the two constructions do not have the same default force.