Active THz metasurfaces for compact isolation