Method for separating jets and the underlying event in heavy ion collisions at the BNL Relativistic Heavy Ion Collider