Brazil’s ex-president receives nearly 10-year sentence