The government’s back-to-work scheme breached laws