Legal Aid Agency chief admits difficulties understanding impact of cyberattack