Eberly resigns as UW president