Virginia’s TowneBank announces resignation of president