Socorro mayor resigns amidst allegations of bad conduct