For decades, the state’s landmark environmental law made it easy to block home construction. A new law changes that.