Thousands of homes are still without water in Wiltshire and Gloucestershire because of a number of burst pipes, bosses say.