As you say, enhanced interrogation techniques are allowed to stop imminent terrorist attacks. This was not the case according to the article as the fatal attack took place in August.
The article concerns alleged events in an interrogation centre, not in carrying out the arrest.