New York City's teacher pension fund has pulled its money out of publicly traded firearms manufacturers, becoming the largest U.S. public pension fund to do so in response to the school shootings in Connecticut, the city's top financial officer said.