In the Bahamas, there are beaches where you can swim with pigs. And lots of selfie-happy tourists did — until recently.