Blast at government office in Pakistan kills 23: official