More than 600 staff are set to lose their jobs at the University of Dundee as its deficit is set to hit £35 million this year.