WASHINGTON — The deputy director of the Secret Service, who managed day-to-day operations during scandals that badly tainted the agency, will resign his position but be allowed to accept another unspecified federal job within the Homeland Security Department, the government…