A state program will provide $5.5 million in tax credits to develop market-rate housing in New Bedford and Fall River.