Effect of mid‐altitude ion heating on ion outflow at polar latitudes