Feds declare SF housing agency ‘troubled’