A federal judge has granted final approval of 3M's multibillion-dollar water contamination settlement, rejecting several objections.