Analysis finds $300m paid to farmers to keep trees they were