Study will probe race issues in legal system