Pipeline-Invariant Representation Learning for Neuroimaging