Sudan cuts ties with Chad after attack on Khartoum