Fix TemplateString empty segment handling and allow colons in variable references.