Federal appeals court reinstates lobster gear restrictions off Maine’s coast