Restart syntax highlighting in Python from the start of the file.

The syntax highlighting for Python was getting out-of-sync often and
causing incorrect highlighting.