Pakistan flirted with terrorism as state policy: US Dy defence secretary Ashton Carter