A Saudi doctoral student at the University of Leeds has been freed after seeing a 34-year sentence over her activity on Twitter in Saudi Arabia drastically reduced, a rights group has said.