 Shares of Tripadvisor Inc. were off 9 in after-hours trading Monday after the company posted weaker-than-expected results and also announced that its chief executive plans to leave his post next year. 