24 Taliban militants killed in Afghanistan