After ‘dangerous situation,’ the Associated Press pulled reporter off presidential campaign