A critical permit for an offshore wind farm planned near the New Jersey Shore has been invalidated by an administrative appeals board, seven weeks after President Donald Trump declared he hoped the project was “dead and gone.”