Court rejects Atlantic Coast Pipeline permit