Bolivia detains attorney general for alleged criminal organization