Rename togglePatternType to setPatternType, get rid of toggled prop in RegexpToggle
Created by: attfarhan
https://sourcegraph.slack.com/archives/CMT39K56Z/p1576524263013400
Created by: attfarhan
https://sourcegraph.slack.com/archives/CMT39K56Z/p1576524263013400