High Court finds 'material errors' in Grayling's guidance on legal aid funding