A closure order has been issued for a Swindon property as a safeguarding measure for the flat's tenant.