Legal aid for inquests faces overhaul