Anticrack-type fracture in brittle foam under compressive stress