July US jobs report shows solid gains amid trade frictions