Travel group TUI strikes deal on third bailout package