Using electric fields to prevent mirror-trapped antiprotons in antihydrogen studies