Judges to get wider training on discrimination in court