Minnesota commits nearly $350 million to affordable housing