An Iowa judge struck down a state law Tuesday that would ban a woman from obtaining an abortion once a fetus' heartbeat is detected, saying it violated the state's constitution.