The justices are set to consider whether their nearly four-decades-old doctrine of deferring to federal agencies should continue.