A federal judge has granted a Minnesota state trooper's request to dismiss a lawsuit brought by the family of Ricky Cobb II, who was shot and killed during a traffic stop in 2023.