Late three-pointer, free throws lift Foard past Bandys