Only use first selection line when populating FindInFiles bar

For #8211
Also, the flow here could probably be cleaned up to something more like this:

```
var initialString;
if (_findBar && !_findBar.isClosed()) {
    initialString = ...;
} else if (currentEditor) {
    initialString = FindUtils.getQueryFromSelection(currentEditor);
}
```