more reality-friendly heuristics for Pkg.hasBraces