Mikaela Shiffrin locked up the World Cup slalom title with two races to spare by dominating the last event before the Olympics.