A private investigator connected to D4vd's case was kicked out of the courtroom during the preliminary hearing ... and apparently it's because he might end up being a witness in the potential murder trial. Here's the deal ... the private eye was...