Merge "Don't remove type checks if we need to perform an access check."