‘We will not surrender,’ Pakistani premier tells militants after deadly attack