The Catch-22 might exist if O’Connor’s resignation were effective upon her successor’s “appointment”. But because it’s effective upon her successor’s confirmation–an act that precedes and is discrete from appointment–there’s no problem. A vacancy is needed for an appointment, but not for a nomination.