WASHINGTON—In a controversial 7-2 decision that has left civil liberties advocates fuming, the