Thousands of Gaza residents broke into warehouses and distribution centers of the United Nations Palestinian refugee agency, grabbing flour and “basic survival items,” the organization said on Sunday.