syntax: fix a crash when dereferencing unmatched captures.

* lib/zile/syntax.lua (expand): skip expansions of unmatched
captures.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>