Avoid empty or redundant directives in CSP header value