The Ugandan military says it attacked a hideout of rebel leader Joseph Kony in southern Sudan this week , killing four of his bodyguards .