Iowa lawmakers have passed a bill that would ban abortions after about six weeks of pregnancy.