Don't back terror, then we will talk: PM tells Pakistan