The Supreme Court has ruled against the Biden administration’s efforts to prevent consumer lawsuits against federal agencies.