Federal judge orders Enbridge to shut down Line 5 in three years, pay tribe $5 million