MacBook Pro 2017 randomly restarts during sleep

Solution 1:

Get the machine replaced by Apple. I had the same issue with a plethora of crashes similar to yours (lots of TLB invalidation crashes) and since replacement it has been good to go. I was experiencing approx 1 crash per day during sleep.