Judge overturns North Dakota law banning most abortions