Judge grants temporary restraining order against 1931 abortion law