Judge rules Minn. online charter school should stay open