Ranieri probably saw that he was lacking something he couldn't get with Juve at the moment. With Tiago, who had substantially more opportunity with Juve... its definitely a loan and sale.
What i don't understand is that Almiron did well in pre-season and didn't get too many chances, while Tiago did jack-shit in pre-season yet he played much more than Almiron. He didn't really get a chance