Bring up completion at a <dot> at the end of the file.

Fix this by not adding empty length expression statements to the AST path.
Bring up completion on an invocation expression before a semicolon.