Massachusetts is close to giving doctors the final word on whether to perform late abortions