It part of a plan to reduce the pension liabilities and lower health care costs. Gay people don't have children who need healthcare, and people with AIDS don't live long enough to draw a pension. It's a win win.
I was thinking the same thing. But my guess is that it's mainly ideological.