Man cleared of terror group link