A federal judge granted a partial victory to a group of African American union pipefitters claiming their union failed to protect them from racial discrimination, allowing them to proceed to trial on some of the claims in a lawsuit, which asserts the union allowed contractors to circumvent hiring rules to avoid hiring black workers.