Ionospheric ion and electron heating at the poleward boundary of a poleward expanding substorm‐disturbed region