Fix inaccessible property pruning to ensure that referenced implied properties are not orphaned.
Clean up property accessibility computation.