Massachusetts will get nearly $5 million in federal funding to clean up polluted urban lots or brownfields. Officials say the funding will go to nearly a dozen Massachusetts communities, with the designated sites including a former tire and lumber complex in Chicopee.