Insurgent attack in South Thailand injures 24