Selectman resigns over civility issue