The President showed faith in McConnell by trusting that he had the votes; that should create a stronger mutual trust for the coming battles.
My understanding is that if somehow McConnell did not have the votes and needed Daines, they could have held the vote open until Sunday until Daines could come back to Washington.