<!--- Verify first that your issue is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
Bug introduced by #63194.
Use of lineinfile module along with backrefs fails.

Relevant part of code:
```
    336     if index[0] != -1:
    337         if backrefs:
    338             b_new_line = m.expand(b_line)
    339         else:
    340             # Don't do backref expansion if not asked.
    341             b_new_line = b_line
```
Fixed it by removing lines 338-340, but additional testing required.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
lib/ansible/modules/files/lineinfile.py

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```
ansible 2.8.6
  config file = /home/p/.config/ansible/config.ini
  configured module search path = ['/home/p/.config/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.7.4 (default, Sep  3 2019, 10:27:32) [Clang 8.0.1 (tags/RELEASE_801/final)]
```

##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->

<!--- Paste example playbooks or commands between quotes below -->
```
  lineinfile:
    path:               "{{ config_elasticsearch }}"
    regexp:             "^#node.name:"
    line:               "node.name: {{ elasticsearch_node }}"
    backrefs:           yes
```

<!--- HINT: You can paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
<!--- Describe what you expected to happen when running the steps above -->


##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->

<!--- Paste verbatim command output between quotes -->
`
File \"/usr/local/lib/python3.7/imp.py\", line 169, in load_source\r\n    module = _exec(spec, sys.modules[name])\r\n  File \"<frozen importlib._bootstrap>\", line 630, in _exec\r\n  File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n  File \"/tmp/ansible_lineinfile_payload_3mda11zl/__main__.py\", line 573, in <module>\r\n  File \"/tmp/ansible_lineinfile_payload_3mda11zl/__main__.py\", line 564, in main\r\n  File \"/tmp/ansible_lineinfile_payload_3mda11zl/__main__.py\", line 338, in present\r\nAttributeError: 'bool' object has no attribute 'expand'\r\n
`

index[1] = lineno + 1
                    if firstmatch:
                        break
                if insertbefore:
                    
                    index[1] = lineno
                    if firstmatch:
                        break
    msg = ''
    changed = False
    b_linesep = to_bytes(os.linesep, errors='surrogate_or_strict')
    
    if index[0] != -1:
        if backrefs:
            b_new_line = m.expand(b_line)
        else:
            
            b_new_line = b_line
        if not b_new_line.endswith(b_linesep):
            b_new_line += b_linesep
        
        
        if regexp is None and m is None:
            
            if insertafter and insertafter != 'EOF':
                
                
                if b_lines and not b_lines[-1][-1:] in (b'\n', b'\r'):
                    b_lines[-1] = b_lines[-1] + b_linesep