Philippine leader retains minister despite resignation