Appeals court upholds finding that the mortgage securities market in 2007 was declining, not dysfunctional.