what happened in the badr battle