Victims of trafficking and torture were unlawfully housed at Wethersfield asylum site in Essex, court hears