The improvised device exploded as soldiers cleaned up the area after a failed attempt by Tamil Tiger rebels to capture the peninsula .