Clean up dissoc-nil

Add doc string and rename parameter for clarity.