Remove unused compile rule for defun

This is handled by `kl->scheme` already.
Register function arity before compiling defuns.

This is needed for functions that partially apply
themselves inside their body.
Update CHANGELOG.