Judge rules serial killer confession cannot be used at trial