CLJS-580: def + fn bug

Only pass name to analyze-seq, name only needed by fn case, not data
literal cases.
test for CLJS-580