Cardi B has reached a settlement with blogger Tasha K, concluding one of the music industry's most contentious defamation lawsuits.