Switzerland's two goals in the first proved to be the fire they needed to punch their ticket to the 2018 IIHF Ice Hockey World Championship quarter-finals.