Seattle police chief, who faced criticism for spending time in Chicago, resigns over response to festival shooting