/Engine/Source/Editor/UnrealEd/Public/ActorGroupingUtils.h
Removes any groups or actors in the current selection from their immediate parent. If all actors/subgroups are removed, the parent group will be destroyed.
virtual void RemoveSelectedFromGroup()