Philippine vice-president quits as foreign minister