A federal housing assistance program affecting more than 900 San Francisco households will expire sooner than expected.