Troubled utility company Thames Water has agreed a deal with Ofwat meaning it will not have to pay the majority of a £104m penalty until 2030