Improve handling of bool expressions in template arguments.

Now correctly formats:
  foo<true && false>();