Fix less error handling during ast.toCSS

Fixes #1877