Pakistani army seizes Taliban stronghold after week-long battle