Slovakia tied it late in regulation, survived a 10-minute 3-on-3 overtime, then won it in a shootout to advance to the semifinals.