PM vows to take counter-terrorism war to logical conclusion