The Prime Minister blasted the Nationalists for cutting their affordable housing budget when Humza Yousaf was first minister.