fix label rewriting and function arity checking
Merge branch 'master' of github.com:alexrudnick/icfp2014