The en banc panel of the U.S. Court of Appeals for the District of Columbia Circuit ruled Wednesday in favor of PHH Mortgage in its long-running legal dispute with the Consumer Financial Protection Bureau over issues tied to the Real Estate Settlement Procedures Act.