The Internal Revenue Service granted tax relief Monday to qualified farmers and ranchers in 41 states and other regions that were forced to sell their livestock due to drought conditions, extending the time they have to replace their animals and still defer taxes on capital gains from selling.