Congress phases out two Social Security loopholes