Briton cleared of terror charges