The Moroccan was the last remaining member of a 12-man cell suspected of plotting last week's deadly vehicle rampages in Barcelona and the seaside resort of Cambrils that were claimed by the Islamic State organisation (IS) -- its first in Spain.