Controlling Tuta absoluta and managing resistance (Full version)