The two-judge majority underscored that the president needed congressional authority to move forward with his plans.