Don’t choke on valueless event attributes

As discovered by @toxinhead in #205, event attributes without values cause minification errors.