Companion planting is one of gardening’s most appealing ideas. Plant basil beside your tomatoes and pests disappear. Add marigolds and nematodes supposedly flee. Tuck in a few herbs and your tomatoes will somehow taste better. Some of those claims have been repeated for generations, but not all of them hold up particularly well when researchers …