fix bug in (random-sentence): copy terminal-head of gram/vp before modification.