Government defends affordable housing cash