Buildings emit a lot of pollution, and a law that could reduce it holds fast despite owners’ opposition