[lit] Fix a shell parsing bug with ';' not separated by whitespace.
 - Testing finds bugs, who knew.