A federal judge in 2018 struck the law down, citing the Roe precedent