Man appears in court after dead, starving horses found on farm