A peek inside shows the chain nowhere near the solinoid but inline with it.
The only way I can see the chain hitting it is if a large piece of chain guide is missing to allow enough slack that the chain could whip from momentum into the inside somehow taking a sharp corner. Bank one or two and which side of the solinoid was chewed into?
I'm very curious. It's amazing the chain didn't bind/break. That's pretty lucky.
Check your tensioner vs OEM style when you do you recovery. Also other things like if like M62 there is that oil check valve or anything that could have blocked proper oil flow. The chain tensioner applies a shit ton of force compared to the little spring that just holds it until oil pressure builds.