Maybe the terrorist was going to blow something up, take hostages or get reinforcements...
From a legal standpoint, that doesn't justify illegal searches. From a tactical standpoint it is quite stupid to send troopers into each house which could explode with them, the occupants and the terrorist.