Remove unused function getUnionAccessorSignatureType.