Thanks - I didn't realise shade losses could be so significant. I did find panels designed to avoid shade losses due to a single cell in a string being shaded but such panels appear to be uncommon or expensive.
What really bothers me most about this problem is that it makes you have to choose between solar panels and trees, and that’s a shitty bargain. Trees are good, and they lower your AC bill.