In order to delete a group you must remove all shared logins from that group by selecting each login then clicking edit. You can either change the group it belongs to or delete the login if no longer needed. Both examples below:
Once that is taken care of you'll have the option to delete the group.