Nearly 600 pieces of EU-derived legislation revoked in UK