Officials say it’s necessary in part to protect habitats and for public safety. One tribe in California has sought to block the operation.