You should probably reach out to technical support for assistance, but here are the commands that can do what you're asking.
You can remove the Core from the Edge forcefully by running:
storage core remove host <host> force
You can remove a LUN that's stuck forcefully by running:
storage lun remove alias <edge> force