A stray pig was shot dead before it could be rescued following a council’s decision to put it down for “animal welfare and public safety reasons”.