TripAdvisor announced that, by year’s end, it will no longer sell tickets for entertainment venues that breed captive marine mammals.