P.A. Ahammed Shareef was chosen at a senate meeting of the university held on the main campus