Indonesian vice president resigns before completing 5-year term