Adrian Lewis booked his place in his first World Matchplay final with a thrilling 17-15 victory over Michael van Gerwen at Winter Gardens, Blackpool.