Robert F. Smith made the surprise announcement during his commencement speech in front of nearly 400 graduates