Tripadvisor’s stock took a dive premarket Wednesday, after the online travel-booking company said it decided pursuing a potential sale would not be in the best interest of the company or its shareholders.