Don't emit an empty template head literal if there's a template span with a non-empty literal.

Fixes #1570
Yeah, if I don't have to check for templateSpans being undefined per your other comment, then it's just a two-part conditional (`one or more templateSpans` and `first templateSpan length non-zero` and easier to write in a single expression.