Conditions for the origin of homochirality in primordial catalytic reaction networks