PM Nawaz vows to take war against terror to logical end