Isle of Man TT: Hickman wins thriller, smashes lap record