Thermohaline mixing in stars : solving the long-standing 3He problem