Blast near Pakistan army headquarters kills 24