A federal judge has ruled that the merger of AT&T and Time Warner can go ahead after being held up by a government lawsuit for more than six months