Lafayette-based rapper charged with terrorism stemming from homicide investigation