PM stresses for devising joint strategy to deal with terrorism