Investigations have stalled and prosecutions declined in the past six months because of staffing shortages, funding cuts, immigration enforcement and growing distrust of the government among victims.