Election cases to be heard by August, pledges CJ