And even in areas where Mr. Obama tried to terminate policies from the George W. Bush era  like torture and the detention of Americans and other people arrested on domestic soil as “enemy combatants”  his administration fought in court to prevent any ruling that the defunct practices had been illegal.