The University of Sheffield says it has stabilised its finances after warning of a £50m shortfall last year.