Government takes direct control of legal aid as Regan resigns