The government is to reject calls to place a legal duty on water companies to reduce raw sewage discharges into rivers.