Khartoum and Juba agree to immediately end support to rebel groups