change resolve_stubs to only resolve child stubs of parallels if ALL of them are stubs.