Bregman clubs 31st homer of the year in 6-3 Astros win