Selective maintenance of multiple CRISPR arrays across prokaryotes