His face shrouded in a scarf and an assault rifle in his lap, a man calling himself Antar al-Kindi appeared in a video released in January and described how Islamic State in Yemen urged him to kill his family.

Instead of carrying out the order, though, Mr. Kindi used the video to renounce the extremist group, providing one more sign of Islamic State’s losses in the war-torn country.

“Islamic...