Spanish Judge Jails Eight Over Terror Plot