Years after completing writing courses, lawyers—and judges—are getting a lesson in grammar and composition.