More than 100 judges, peers, prominent lawyers and doctors working in the civil and criminal justice system have called on the incoming government to restore legal aid to prevent “widespread miscarriages of justice”.