hw & core: provide env_context_area_rm_session()

Ref #734