Gravity Flows of Ideally Plastic Materials Through Slots