Disgruntled garment workers have ransacked a factory and damaged vehicles in Mirpur, Dhaka, accusing factory staff of beating up fellow workers.