Valesky-sponsored new law will help communities fight future projects like NYRI