Kegelmeyer resigns from city council