US intimate apparel maker Hanesbrands has axed a supplier contract in Bangladesh, blaming violations of working hours and pay conditions.