Former Sudanese ruler, who was removed from office in April after three decades in power, handed two year sentence at rehabilitation facility