Alabama’s governor swiftly signed legislation into law late Wednesday shielding doctors from potential legal liability raised by a court ruling that equated frozen embryos to children, after facing pressure to get in vitro fertilization services restarted in the state.