Three Brazilian track and field athletes won a court ruling allowing them to compete at the Paris Olympics despite the country’s substandard anti-doping program.