United flight diverted because pet ‘mistakenly’ put on plane