Wales Air Ambulance wins bequest after legal query