Supreme Court rules 24-hour arrest deadline starts at detention