Brazil's far-right candidate, who is nostalgic for country's military past, wins first round