Thames Water has "withdrawn" plans to pay senior bosses bonuses linked to the company securing a £3bn emergency loan, the environment secretary has said.