Federal judge Donald Malloy ruled that the ban, which was set to take effect on Jan. 1, “oversteps state power” and is “likely unconstitutional.”