Clean up create_head_node.

- Renamed variable to make more sense.
- Although releasing the &empty_annotation is unecessary due to it
being a static empty node, it's probably better to explicitly do it
to make things more uniform and clean.