US Supreme Court judges found common ground on a case about the humane treatment of pigs