The US Secret Service chief resigned after the agency faced backlash for failing to stop an attempted assassination attempt on Donald Trump.