Homebrew: Selfdestruct

The name is very open to change. I only really went with something so drastic so that folks are unlikely to ever stumble onto it accidentally. Ideally we could do with adding a confirmation prompt that requests a “yes” before continuing and then the name could be scaled back to something less drastic. 

I’m not overly keen on “unbrew” as that feels like something users could stumble onto trying to remove formula, and ending up eradicating the entire Homebrew install.

Script taken from Steve Benner’s excellent work [here](https://gist.github.com/SteveBenner/11254428) and tweaked a teeny, tiny bit to fit inside Homebrew’s formatting. My major changes are lines 9, 10, 176 & 177. Everything else, aside a couple of squished code comments, is identical to Steve’s script.

This PR relates to [#28174](https://github.com/Homebrew/homebrew/issues/28174), amongst many other issues. Happy to work on this as much as necessary/desired.
The entire block of code from L71 to L119 is unnecessary, because we already know where Homebrew is located: `HOMEBREW_REPOSITORY`, `HOMEBREW_PREFIX`, and `HOMEBREW_CELLAR`.

Additionally, the script seems to assume that the repository is always identical to the prefix, and that the cellar is always relative to the prefix, but that isn't always true, so they have to be treated individually.