A federal judge ruled Friday that the office of America’s self-proclaimed toughest sheriff systematically singled out Latinos in its trademark immigration patrols.