Italian Prime Minister Matteo Renzi officially resigned Wednesday after a crushing defeat in a referendum on constitutional reform.