Hamas vows to rearm, admits 48 dead