Ab initio study of transition state spectroscopy: ClHCl - photodetachment spectrum