Sudan's President Omar Hassan al-Bashir was in a jubilant mood when he announced to crowds of supporters that he was declaring a ceasefire in Darfur.