Former Giffords aide wins election to finish her term