Joy Global earnings slip; outlook cut for rest of year