Tehran says its military downed plane, blaming ‘human error,’ after denying it played a part for several days; crash came hours after Iranian missile attack on US forces in Iraq