Somali premier sacks spy agency chief