Ottawa Police Chief Peter Sloly has resigned after weeks of criticism for his handling of anti-vaccine mandate protests that have paralysed the city.