Discrete groups with Kazhdan's propertyT and factorization property are residually finite