expandEnvVars.expandStrings: flatten the expanded strings so as to permit a substitution to expand into multiple elements of the final list. merge to stable.