Philippines president accepts deputy's resignation