My 2014 Pajero Sport with 35k on the clock overheated

The dealers reckon its due to head gasket failure.
Does a head gasket just fail, or it is normally as a result of overheating that a gasket blows?
The dealers are in the process of stripping the engine and doing tests etc to determine route of rectifying (Only gasket, new top, new block etc etc)so my next question is what are the typical other things that I can request from them to determine if all required parts were replaced or if necessary work was performed.
I basically want to educate myself in this whole process to ensure that I get a proper engine back. Ultimately I want them to replace my engine because its not suppose to do that after 35K, and due to overheating, some life must have been taken out of the engine, so I don't really want them to just overhaul selectively so I want some knowledge to challenge their way of establishing what to do with the repairs.
Sorry for the long post and thanks in advance for any advice or help.