38 killed in deadliest Afghan attack in months