[display] don't try to type expression under cursor when in `@toplevel` completion (closes #3298)

See #3298.

I may add a unit test to this PR as soon as I think of a way to test <il> output of toplevel completion.