##### SUMMARY
An invalid syntax within a jinja2 statement results in the statement being returned instead of an syntax error.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
jinja2

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
ansible 2.9.0.dev0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/user/PycharmProjects/ansible-2/lib/ansible
  executable location = /home/user/PycharmProjects/ansible-2/bin/ansible
  python version = 3.7.3 (default, Mar 26 2019, 21:43:19) [GCC 8.2.1 20181127]
```

##### CONFIGURATION

##### OS / ENVIRONMENT

ArchLinux

##### STEPS TO REPRODUCE

```yaml
- name: Test
  hosts: localhost
  gather_facts: false
  become: false
  strategy: linear
  tasks:
    - debug:
        msg: "{{ foo | ipaddr('address')) }}"
```

##### EXPECTED RESULTS

Syntax error (two closing `)`-characters)

##### ACTUAL RESULTS

```paste below
ok: [localhost] => {
    "msg": "{{ foo | ipaddr('address')) }}"
}
```

@sivel 
if not isinstance(key, string_types):
            raise ValueError('key must be a string')
        key = to_native(key)
        if '.' not in key:  
            return self._delegatee.__getitem__(key)
        func = self._collection_jinja_func_cache.get(key)
        if func:
            return func
        components = key.split('.')
        if len(components) != 3:
            raise KeyError('invalid plugin name: {0}'.format(key))
        collection_name = '.'.join(components[0:2])
        collection_pkg = 'ansible_collections.{0}.plugins.{1}'.format(collection_name, self._dirname)
        
        
        pkg = import_module(collection_pkg)
        for dummy, module_name, ispkg in pkgutil.iter_modules(pkg.__path__, prefix=collection_name + '.'):
            if ispkg:
                continue
            plugin_impl = self._pluginloader.get(module_name)
            method_map = getattr(plugin_impl, self._method_map_name)
            for f in iteritems(method_map()):
                fq_name = '.'.join((collection_name, f[0]))
                self._collection_jinja_func_cache[fq_name] = f[1]
            function_impl = self._collection_jinja_func_cache[key]
        
        return function_impl
    def __setitem__(self, key, value):