$282M water quality bill sails through