Perhaps.
Not quite sure what you're saying here.
I wouldn't want to say it happens in every death but it may be that some mechanism exists to help make the final flickers of life peaceful regardless as to how the person reached that state. Some report the opposite sensation... of being on the precipice of something horrible. So, I don't know. Just speculating here which I think is all anyone can do on this topic.
How do you explain all the reported NDE’s in which the person is aware of and recalls all the events in the ER room.
There are many many cases ( the best documented of all ) in which those experiencing an NDE see themselves floating above their body and describing to a minute detail things they could not possibly know in the attempts to revive their body.
Amazing story here about Pam Reynolds who recalled specific -medically precise- operating procedures during her operation.
http://www.salon.com/2012/04/21/near_death_explained/