Court to look at ‘broken system’ for homeless programs in LA city and county