Pakistan ‘controls terror flow’