Brown 'will stick to' terror plan