A panel of three judges on Friday became the third federal court to rule that President Donald Trump’s effort to exclude people in the country illegally from the numbers used for dividing up congressional seats is unlawful.