Prosecutors are to be told they must not let “unconscious bias” sway their decisions on charging ethnic minority suspects.