In a major ruling, the Supreme Court on Friday cut back sharply on the power of federal agencies to interpret the laws they administer and ruled that courts should rely on their own interpretion of ambiguous laws.