Two security workers have been sacked after placing an electronic tag on an offender's false leg, allowing him to remove them and breach his curfew.