US lawmakers have agreed to continue to compensate Brazilian cotton farmers to the tune of $147.3m a year after voting against a proposal to end the annual payments.