Matt Hancock resigns