Governor Maura Healey signed legislation that removes the state’s prior framework for abortions after 24 weeks of pregnancy.