White House staff secretary Rob Porter resigned after denying domestic-violence accusations from two ex-wives.