State fracking waste ban echoes law adopted by town