The rapper was accused of engaging in "conduct that threatens the safety of witnesses and prosecutors"