Top US general says no military role in elections