Top court frees Bosnian intelligence chief accused of fraud