make add_missing_keeps more robust in case of SwitchJumps