The separation of the East Australian Current: A Lagrangian approach to potential vorticity and upstream control