In a unanimous vote, justices told a lower court to revisit a ruling that upheld reduced payments to solar panel owners for selling excess power back to utility companies.