The Massachusetts Supreme Judicial Court this week handed state environmental regulators a new assignment to revamp how waterfront developments are reviewed and approved, potentially affecting zoning frameworks in coastal communities from Beverly to Provincetown.