API docs: Add example of removing a namelist in an upgrade macro

Adds an example of removing a namelist (rather than a namelist item) in an upgrade macro following user feedback.