fix cacosh results for arguments with negative imaginary part