Dominic Thiem's semi-final hopes remain alive, just, after he beat Kei Nishikori in straight sets for his first win at the 2018 ATP Finals.