Rename remaining Failures in Documentation to Panic

I have also renamed `fail` to `panic` in some non-documentation comments, where I thought it mattered.
Fixes #18677 

cc @steveklabnik 
This isn't a panic. Otherwise it would be nonsense to speak of the return value.