Remove duplicated words in documentation or comments.

After noticing a duplicated word in a docstring, I used variations of the `grin` command

    grin " ([a-z]+) \1 "

to find more.  This PR removes most of the dups that would be visible to a user.