The Third Circuit ruled Friday that New Jersey’s partnership filing fee is a state affair that can’t be challenged in federal court, dealing a blow to a pipeline company seeking to shed the cost because it does very little business in the state.