Experts said District Judge Jessica Peterson’s initial restrictions amounted to an unconstitutional gag order.