Congrats on your new Yorkie, and kudos for you taking on the responsibilty of taking him from an abused home! I know that new homes can be stressful on even puppy's from good environments, add the abuse, and it can only make it worse, as I'm sure he already has a fear of people. You'll just have to work with him to prove that theory wrong. It will take time but it will be worth it, and the bond you guys form will be so strong because of it. I'll also assume you may have been lied to from the previous owner about his house training, he's 9 months old, so it will take some consistency, and much positive reward and praise, he needs that anyway, and you'll get there!