Judges in two different cases have denied separate motions by the government-sponsored enterprises to dismiss lawsuits charging that their automated underwriting systems are discriminatory. But Fannie Mae managed to score a preliminary victory in its legal battle.